package com.woniu.user.client;

import com.woniu.result.Result;
import com.woniu.user.client.result.UserCrowdProductResultInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(contextId = "userCrowdQueryClient", name = "user")
public interface UserCrowdQueryClient {
    /**
     * 查询个人众筹
     */
    @GetMapping("/listCrowdByUserId")
    Result listCrowdByUserId(@RequestParam("userId") Integer userId);
}
